import request from '@/utils/request'

export function getServiceData() {
  return request({
    url: `/sysm/home/`,
    method: 'get'
  })
}

export function getBasicData() {
  return request({
    url: `/basic/home/`,
    method: 'get'
  })
}

export function getDefectData() {
  return request({
    url: `/basic/home/getRepairDefectNum`,
    method: 'get'
  })
}

export function getFaultData() {
  return request({
    url: `/basic/home/getScyFaultRecordNum`,
    method: 'get'
  })
}

export function getPretreatmentData() {
  return request({
    url: `/repair/home/pretreatment`,
    method: 'get'
  })
}
